package com.GroupSix.service;

import com.GroupSix.entity.QuestionBankEntity;
import com.GroupSix.vo.QuestionBankEntityVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface QuestionBankService extends IService<QuestionBankEntity> {
    Integer add(QuestionBankEntity question);
    Integer delete(Long id);
    Integer update(QuestionBankEntity question);
    QuestionBankEntity search(Long id);
    IPage<QuestionBankEntity> List(QuestionBankEntityVo vo );
    public boolean existsByContent(String content);
}
